Skip to content

Run CI on the latest GameCI actions (UNI-278) - #249

Draft
sierpinskid wants to merge 6 commits into
mainfrom
bugfix/UNI-278-latest-gameci-actions
Draft

sierpinskid wants to merge 6 commits into
mainfrom
bugfix/UNI-278-latest-gameci-actions

Conversation

@sierpinskid

@sierpinskid sierpinskid commented Dec 4, 2026 •

Copy link
Copy Markdown
Member

Summary

  • Dependabot Bump the github-actions group across 1 directory with 5 updates #248 bumps the GitHub Actions group and CI dies in game-ci/unity-builder v6 before Unity starts, because targetPlatform is now required. v4.8.2 treated a blank value as StandaloneWindows64.
  • v6 and unity-test-runner v4.4.0 are thin wrappers around game-ci/cli. The CLI loads UNITY_LICENSE as a .ulf. That file is bound to the machine that created it, so hosted runners log Machine bindings don't match and fall back to Personal activation, which assigns no seat on Unity 2021.3. v4 decoded <DeveloperData> and activated with -serial. This branch exports that serial as UNITY_SERIAL.
  • game-ci/cli v0.1.77 rejects a custom -executeMethod that exits 0, because the shell prints Build succeeded and validateBuild only accepts Build succeeded!. The two CI entry points now print that string.
  • coverageEnabled: false becomes --no-coverageEnabled, which the CLI rejects (negation-prefix: false). Coverage is turned off with GAME_CI_COVERAGE_ENABLED=false. githubToken stays empty.
  • androidTargetSdkVersion: AndroidApiLevel33 is coerced to NaN (the CLI option is a number), so sdkmanager installs platforms;android-0 and Unity 2021.3.36 compiles against API 30. The input is now 33, which installs platforms;android-33.
  • Unity 6 can abort on quit (tcache_thread_shutdown, exit 134) after the scripting define is already saved. Enable Tests now retries the same way the test and sample-build steps do.
  • free-disk-space v2 needs swap-storage: true to keep the v1 disk budget. Slack tag v2 is an older Node 12 commit; the newest release is v1.6.0. actions/setup-dotnet v6.1.0 is included.
  • Full matrix, based on current main.

Test plan

  • build (2021.3.45) and build (2023.2) passed tests and the Android sample build on run 47358822065
  • build (2021.3) installs platforms;android-33 and completes the sample build
  • build (6000.1) gets past Enable Tests (retry on exit 134) and completes
  • The other matrix rows complete
  • Confirm Dependabot Bump the github-actions group across 1 directory with 5 updates #248 can be closed once this is the version we keep

unity-builder v6 rejects a blank targetPlatform, and unity-test-runner v4.4.0 turns on check runs and code coverage by default. This branch runs the oldest and newest matrix rows with those inputs set, without touching the current feature branches.

Co-authored-by: Cursor <cursoragent@cursor.com>
@getstream-metis

Copy link
Copy Markdown

👋 Hi Daniel, still cooking? 🍳

I'm Jeffery, Stream's review agent. I look for bugs, regressions, missing tests and slow paths, and I only post findings I've checked against the code.

📝 This PR is a draft, so I'll keep my hands off for now. Mark it Ready for review and a ✅ box to start my review shows up right here.

Can't wait? Comment /jeffery review now and I'll start the moment it's ready. I'll stay quiet unless you ask.

@sierpinskid

Copy link
Copy Markdown
Member Author

Probe result: do not merge.

setup-dotnet v6.1.0 built the net7.0 release tool.

Both Unity rows died in Enable Tests on game-ci CLI v0.1.77 (what unity-builder v6 and unity-test-runner v4.4.0 install):

  • The Personal .ulf is rejected: Code 400 ... Machine bindings don't match.
  • 2021.3 then failed the account fallback: Unity did not grant a Personal seat for this editor version.
  • 6000.2 got a Personal seat, set STREAM_TESTS_ENABLED, and then the editor aborted on quit (tcache_thread_shutdown, exit 134). Tests never started.

The same .ulf still activates under unity-builder v4.8.2 / unity-test-runner v4.3.1. There is no workflow input that makes CLI v0.1.77 accept this file.

sierpinskid and others added 2 commits December 4, 2026 15:06
The probe branch was behind the Android blur and sample-build retry merges. Keep main's workflow; the action upgrade is a separate commit.

Co-authored-by: Cursor <cursoragent@cursor.com>
unity-builder v6 and unity-test-runner v4.4 load a personal .ulf as a file. Hosted runners reject that file for machine binding and then fail to get a Personal seat on Unity 2021.3. v4.8.2 already activated by reading the serial out of the same file, which is what these actions still do when UNITY_SERIAL is set.

Co-authored-by: Cursor <cursoragent@cursor.com>
@sierpinskid sierpinskid changed the title Probe latest GameCI actions (UNI-278) Run CI on the latest GameCI actions (UNI-278) Dec 4, 2026
sierpinskid and others added 3 commits December 4, 2026 15:36
game-ci/cli v0.1.77 rejects a custom -executeMethod that exits 0, because its shell prints "Build succeeded" and the checker only accepts "Build succeeded!".

Co-authored-by: Cursor <cursoragent@cursor.com>
unity-test-runner v4.4.0 maps coverageEnabled: false to --no-coverageEnabled, and game-ci/cli v0.1.77 rejects that flag because yargs negation is disabled.

Co-authored-by: Cursor <cursoragent@cursor.com>
Unity 6 can abort on quit after the scripting define is saved, and the CLI only installs an Android platform when androidTargetSdkVersion is an integer.

Co-authored-by: Cursor <cursoragent@cursor.com>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant